//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#ifndef __ELASTOS_DODIVZ_H__
#define __ELASTOS_DODIVZ_H__

#include <elatypes.h>

typedef struct insDiv
{
    uint32_t  div :  6;
    uint32_t  fd :   5;
    uint32_t  fs :   5;
    uint32_t  ft :   5;
    uint32_t  fmt :  5;
    uint32_t  cop1 : 6;
}insDiv;

typedef struct doubleFloatPoint
{
    uint32_t mantlo : 32;
    uint32_t manthi : 20;
    uint32_t bexp   : 11;
    uint32_t sig    : 1;
} dFloatPoint;

typedef struct singleFloatPoint
{
    uint32_t mant :  23;
    uint32_t bexp :  8;
    uint32_t sig  :  1;
} sFloatPoint;

#endif//__ELASTOS_DODIVZ_H__
